<template>
  <div id="app">
<!--    <router-link to="/login" tag="p">测试</router-link>-->
<!--    <router-link :to="{path:'/list'}">列表页</router-link>-->

    <router-view></router-view>


  </div>
</template>

<script>
export default {
  name: 'App',
  components: {
  },
  data(){
    return {}
  },
  methods:{
    reder(name){
      // this.$router.push(path)
      // this.$router.push({path:path, query:{username:"yanziliang"}})
      this.$router.push({name:name, params:{username:"params"}})

    },
    goback(){
      this.$router.go(-1)
    }
  }

}
</script>

<style>
*{
  padding: 0;
  margin: 0;
}
html, body{
  width: 100%;
  height: 100%;
}
#app{
  width: 100%;
  height: 100%;
}

</style>
